/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nms.base.crm;

/**
 *
 * @author mohamedemara
 */
public class EntityManagerPoolSingleTon {
 
    private volatile static EntityManagerPool uniqueInstance;
    public static EntityManagerPool getInstance()
    {
          if(uniqueInstance ==null)
          {
              synchronized(EntityManagerPool.class)
              {
                  if(uniqueInstance ==null)
                       uniqueInstance=new EntityManagerPool();
              }
          
          }
          return uniqueInstance;
    }
    
}
